/**
 * Copyright (C), 2020-2020,贵州铭明网络科技有限公司
 * FileName: InsertAdminInfoBo
 * Author:   杨朝湖
 * Date:     2020/12/8 10:18
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.mm.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author Gym
 * @create 2020/12/8
 * @since 1.0.0
 */
@Data
@ApiModel(value = "管理员添加BO", description = "从客户端传入的数据封装实体")
public class InsertAdminInfoBo {

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名(手机号)", name = "adminName", required = true)
    @NotBlank(message = "手机号不能为空")
    private String adminName;
    /**
     * 真实名称
     */
    @ApiModelProperty(value = "真实姓名", name = "adminRealName", required = true)
    @NotBlank(message = "真实名称不能为空")
    private String adminRealName;

    /**
     * 生日
     */
    @ApiModelProperty(value = "生日", name = "adminBirthday", required = true)
    @NotNull(message = "生日不能为空")
    private Long adminBirthday;

    /**
     * 性别(1-男、2-女、3-保密)
     */
    @ApiModelProperty(value = "性别", name = "adminSex", required = true)
    @NotNull(message = "性别不能为空")
    private Integer adminSex;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", name = "adminEmail", required = true)
    @NotBlank(message = "邮箱不能为空")
    private String adminEmail;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像", name = "adminHeadPort", required = true)
    @NotBlank(message = "头像不能为空")
    private String adminHeadPort;

    private String token;
}